export default {
    // 请求中
    REQUESTing(state){
        state.firstView = false;
        state.loading = true;
    },
    // 请求成功的页面显示
    REQ_SUCCESS(state,{users}){
        state.loading = false;
        state.users = users;
    },
    // 请求失败的页面显示
    REQ_ERRORMSG(state,{errorMsg}){
        state.loading = false;
        state.errorMsg = errorMsg;
    }
}